import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class SalaryCalculatorTest {
	//0
	@Test
	public void test1() {
		assertEquals(0, SalaryCalculator.calculateSalary(0,20));
	}
	//20
	@Test
	public void test2() {
		assertEquals(400, SalaryCalculator.calculateSalary(20,20));
	}
	//39
	@Test
	public void test3() {
		assertEquals(780, SalaryCalculator.calculateSalary(39,20));
	}
	//40
	@Test
	public void test4() {
		assertEquals(800, SalaryCalculator.calculateSalary(40,20));
	}
	//41
	@Test
	public void test5() {
		assertEquals(830, SalaryCalculator.calculateSalary(41,20));
	}
	//49
	@Test
	public void test6() {
		assertEquals(1070, SalaryCalculator.calculateSalary(49,20));
	}
	//50
	@Test
	public void test7() {
		assertEquals(1100, SalaryCalculator.calculateSalary(50,20));
	}
	//99
	@Test
	public void test8() {
		assertEquals(4040, SalaryCalculator.calculateSalary(99,20));
	}
	//100
	@Test
	public void test9() {
		assertEquals(4100, SalaryCalculator.calculateSalary(100,20));
	}
	//-1
	@Test(expected = IllegalArgumentException.class)
	public void test10() {
		SalaryCalculator.calculateSalary(-1,20);
	}
	//101
	@Test(expected = IllegalArgumentException.class)
	public void test11() {
		SalaryCalculator.calculateSalary(101,20);
	}
	//wagePerHour < 0
	@Test(expected = IllegalArgumentException.class)
	public void test12() {
		SalaryCalculator.calculateSalary(20,-1);
	}
	//hours = 0
	@Test
	public void test13() {
		assertEquals(0, SalaryCalculator.calculateSalary(0,0));
	}
	//45
	@Test
	public void test14() {
		assertEquals(950, SalaryCalculator.calculateSalary(45,20));
	}
	//55
	@Test
	public void test15() {
		assertEquals(1400, SalaryCalculator.calculateSalary(55,20));
	}
}